body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
    color: #333;
    font-size: 1.4rem;
}

header {
    display: flex;
    justify-content: center;
    background: #222;
    color: white;
    padding: 0.5rem 0;
    font-size: 1.7rem;
}

.contact-navbar {
    display: flex;
    justify-content: center;
    background: #0a7304d6;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Hide hamburger menu in full-screen mode */
#mobile-menu {
    display: none;
    cursor: pointer;
}

/* Show hamburger menu only for small screens */
@media screen and (max-width: 768px) {
    #mobile-menu {
        display: block;
    }

    #contact-nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #0a7304;
    }

    #contact-nav-links.active {
        display: flex;
    }
}

.hamburger div {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease-in-out;
}

/* Animation for hamburger icon */
.hamburger.open div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open div:nth-child(2) {
    opacity: 0;
}
.hamburger.open div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.contact-nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.contact-nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    transition: color 0.3s ease-in-out;
}

.contact-nav-links li a:hover {
    color: #fdb827;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .contact-nav-links {
        display: none;
        flex-direction: column;
        background: #0a7304;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        text-align: center;
        padding: 10px 0;
    }

    .contact-nav-links.active {
        display: flex;
    }
}

.content-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Info Box */
.content-info {
    background: linear-gradient(135deg, #e8f5e9, #d4e8d5);
    padding: 2rem;
    border: 2px solid #0a7304d6;
    border-radius: 15px;
    width: 40%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Map Container */
.map-container {
    border: 2px solid #0a7304d6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 0;
}

.map-container h2 {
    text-align: center;
    background-color: #0a7304d6;
    color: white;
    padding: 0.8rem 0;
    margin: 0;
}

.map-container iframe {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
    height: 250px;
}

/* Ensure consistency in full screen */
@media (min-width: 769px) {
    .map-container iframe {
        width: 100%;
        height: 250px;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item ion-icon {
    font-size: 1.5rem;
    color: #0a7304d6;
    margin-right: 10px;
}

.contact-item p,
.contact-item a {
    margin: 0;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    word-break: break-word;
}

.contact-item a:hover {
    text-decoration: underline;
    color: #fdb827;
}

/* Get in Touch Box */
.content-form {
    width: 40%;
    background: linear-gradient(135deg, #f1f8e9, #e0e9d3);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid #0a7304d6;
}

.content-form input,
.content-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.content-form button {
    background-color: #0a7304d6;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.content-form button:hover {
    background-color: #fdb827;
}

footer {
    background-color: #222;
    color: white;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.foot-img img {
    width: 120px;
    height: auto;
}

.footer-details {
    max-width: 800px;
    text-align: left;
}

.footer-details p,
.footer-details a {
    margin: 8px 0;
    font-size: 1rem;
    color: #ddd;
}

.footer-details a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

/* Responsive layout */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-details {
        text-align: center;
    }

    .foot-img {
        margin-bottom: 1rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .content-box {
        flex-direction: column;
        align-items: center;
    }

    .content-info,
    .content-form {
        width: 100%;
        max-width: 400px;
        padding: 1.5rem;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .contact-item a,
    .contact-item p {
        font-size: 0.9rem;
    }

    .content-form input,
    .content-form textarea {
        padding: 0.6rem;
    }

    .content-form button {
        padding: 0.6rem 1.2rem;
    }
}

.response-message {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: none;
}

.response-message[style*="block"] {
    display: block;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0a7304d6;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}